package com.test.springcloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)  //链式结构
@NoArgsConstructor   //无参构造函数
public class UserPojo {

    private Integer userId;   //用户编号
    private String userName;  //用户姓名
    private String userPwd;  //用户密码
    private String nickName;  //用户昵称
    private Integer roleId; //角色id
    private Integer age;  //用户年龄
    private String sex;  //用户性别
    private String address; //用户地址
    private String avatar;  //用户头像
    private Double account;  //账户余额

}
